The phrase "to fry the rice" is an idiomatic expression that means to ruin or spoil something, often by making a mistake. It can also mean to fail at doing something or not being able to accomplish a task despite trying hard. The origin of this phrase comes from the idea of overcooking rice and turning it into mush instead of fluffy grains.